package com.tempjob.app.controller.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author hui
 * @Date 2024/11/20 22:18
 **/
@Data
public class PolicyResult {

    private boolean success;
    private int code;
    private String msg;
    private ResultData data;

    @Data
    public static class ResultData {

        private int pageNum;
        private int pageSize;
        private int total;
        private int pages;
        private List<Result> result;
    }

    @Data
    public static class Result {

        private String articleId;
        private String articleTitle;
        private String articleImg;
        private String articleImg2;
        private String articleImg3;
        private int visibleRange;
        private boolean isOpenReg;
        private String regEndTime;
        private String regInfo;
        private String fileUrl;
        private String regTemplate;
        private int browseNumber;
        private String complimentNumber;
        private String createUser;
        private String createUserData;
        private String createTime;
        private int isDel;
        private String orgId;
        private Org org;
        private String intro;
        private String articleOrgId;
        private String categoryId;
        private String categoryTitle;
        private String categoryPaths;
        private int state;
        private String reason;
        private int isRecommend;
        private String joinUser;
        private Date joinCreateTime;
        private String updateUser;
        private String updateUserData;
        private Date updateTime;
        private Date joinUpdateTime;
        private String joinOrgId;
        private String joinOrg;
        private String joinHierarchy;
        private String isJoin;
        private String isSign;
        private String joinCreateUser;
    }

    @Data
    public static class Org {

        private String orgName;
        private String orgLogo;
        private String orgImg;
        private String orgVideo;
        private String natrue;
        private String industry;
        private String scale;
        private String shortName;
        private int orgType;
        private String address;
        private int isRecommend;
        private String intro;
        private String website;
        private String orgCode;
        private String comments;
    }


}
